<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">

    <title>jQuery WeUI</title>

    <link rel="stylesheet" href="/movie/Movie_version_1.1/movie/Public/jquery-weui/lib/weui.min.css">
    <link rel="stylesheet" href="/movie/Movie_version_1.1/movie/Public/jquery-weui/css/jquery-weui.css">

    <link rel="stylesheet" href="/movie/Movie_version_1.1/movie/Public/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/movie/Movie_version_1.1/movie/Public/jquery-weui/demos/css/demos.css">

    <script src="/movie/Movie_version_1.1/movie/Public/jquery-weui/lib/jquery-2.1.4.js"></script>
    <script src="/movie/Movie_version_1.1/movie/Public/jquery-weui/js/jquery-weui.js"></script>

    <script src="/movie/Movie_version_1.1/movie/Public/jquery-weui/js/swiper.js"></script>
</head>
<style>
    .movie-name {
        font-weight: bold;
    }

    .movie-summary {
        color: #747474;
    }

    .movie-description {
        color: #D8D8D8;
    }

    /*  .movie-point {
          color: #E48A8B;
      }*/
</style>
<body ontouchstart>

<div class="weui_tab_bd">
    <?php if(!empty($data)): if(is_array($data)): foreach($data as $key=>$val): ?><div class="weui_cell">
                <div class="weui_cell_bd weui_cell_primary">
                    <p class="movie-name"><?php echo ($val['name']); ?> <?php echo ($val['quantity']); ?>张</p>
                    <p class="movie-summary"><?php echo ($val['username']); ?> <?php echo ($val['roomname']); ?>厅-<?php echo ($val['language']); ?>
                        <?php echo ($val['showtime']); ?></p>
                    <p class="movie-description"><?php echo ($val['seat_row']); ?>排<?php echo ($val['seat_column']); ?>列</p>
                </div>
                <div class="weui_cell_ft">
                    <div class="movie-point"><?php echo ($val['show']); ?><br/>
                    <?php if($val['status'] == 1): ?><a href="<?php echo U('comment/index',['oid'=>$val['oid'],'movie_id'=>$val['mid'],'meid'=>$val['meid']]);?>">未评论</a>
                    <?php else: ?>
                    <a >已评论</a><?php endif; ?>
                    </div>
                    <br/>
                    <br/>
                </div>
            </div><?php endforeach; endif; endif; ?>
</div>
</body>
</html>